package com.weipai.education.service;

import com.weipai.education.model.Document;
import com.weipai.education.model.Picture;
import com.weipai.education.model.api.Response;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/11 14:18
 */
public interface SystemService {
    
    //图片分页查询
    Response pictureList(Integer page, Integer size);

    //图片保存--修改
    Response savePicture(Picture picture);

    //更改图片的状态
    Response changeStatus(String id);

    //图片批量删除
    Response batchDeleteById(String[] id);

    //文本的保存--修改
    Response saveDocument(Document document);

    //获取文本
    Response getDocument();

    //消息推送

    /**
     * 获取推送消息
     * @return
     */
    Response selectAllMessage();

    /**
     * 获取未读消息的个数
     * @return
     */
    Response getMessageNum();

    Response changeMessageStatus(Integer messageId);

}
